<template>
  <a-config-provider
    :locale="locale"
    :theme="{
      token: {
        borderRadius: 2,
        colorPrimary: '#197ce0',
      },
    }"
  >
    <router-view></router-view>
  </a-config-provider>
</template>

<script>
import { ConfigProvider } from 'ant-design-vue';
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');
export default {
  components: {
    AConfigProvider: ConfigProvider,
  },
  data() {
    return {
      locale: zhCN,
    };
  },
  async mounted() {},
};
</script>

<style lang="scss">
html,
body,
#app {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
</style>
